package com.oa.ylms.apps.dao.file;

import java.util.List;

import com.oa.ylms.apps.entity.file.FileSubmitInfoValue;
import com.oa.ylms.apps.entity.organization.SectionInfoValue;

public interface IFileSubmitInfoDao {

	public boolean editFileSubmitInfo(FileSubmitInfoValue entity) throws Exception;

	public int addFileSubmitInfo(FileSubmitInfoValue fileSubmitInfo)throws Exception;

	public boolean deleteFileSubmitInfo(FileSubmitInfoValue fileSubmitInfo)throws Exception;

	public FileSubmitInfoValue queryFileSubmitInfoById(FileSubmitInfoValue fileSubmitInfo)throws Exception;

	public List<FileSubmitInfoValue> queryFileSubmitInfoWithPage(FileSubmitInfoValue fileSubmitInfo, SectionInfoValue sectionInfo, int rows, int pageNo)throws Exception;	
	
	public int countTPages(FileSubmitInfoValue fileSubmitInfo, SectionInfoValue sectionInfo, int rows) throws Exception;

	public int getTotalNumbers() throws Exception;
}
